 $( "#viewselector" ).selectmenu();